package com.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import com.bo.Product;

public interface ProductDao {
	public Product insert(Product product) throws Exception;
	public Product update(Product product) throws Exception;
	public void delete(long productId) throws Exception;
	public Product load(Product product) throws Exception;
	public Product loadSimplePrdt(Long productId) throws Exception;
	public List<Product> loadProductsOfToday() throws Exception;
	public List<Product> loadPreviousProducts(int pageNo, int pageSize) throws Exception;
	public int PreProductsCnt() throws Exception;
}
